package br.com.medvagas.comum.excecao;

import javax.faces.context.ExceptionHandlerFactory;

public class TratadorExcecaoFactory extends ExceptionHandlerFactory {

	private final ExceptionHandlerFactory parent;

	public TratadorExcecaoFactory(ExceptionHandlerFactory parent) {
		this.parent = parent;
	}

	@Override
	public TratadorExcecao2 getExceptionHandler() {
		return new TratadorExcecao2(this.parent.getExceptionHandler());
	}

}